package com.test.t1.controller;

import com.lh.spring.annotation.ioc.Autowired;
import com.lh.spring.annotation.ioc.Controller;
import com.test.t1.Cat;
import com.test.t1.Student;


/**
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/1/27 19:04
 * @Created by LiuHua
 * @Path com.test.t1.controller
 */
@Controller
public class MyController {
    @Autowired
    private Cat cat;
    @Autowired
    private Student student;
    public void test(){
        System.out.println(cat.getId());
    }
    public void test2(){
        System.out.println(student.getName());
    }
}
